<%--== Handlers ==--%> <%--postmsg Opening Initialization directive @1-A0E75F14--%><%!

// //Workaround for JRun 3.1 @1-F81417CB

//postmsg Page Handler Head @1-6E69A23E
    public class postmsgPageHandler implements PageListener {
//End postmsg Page Handler Head

//postmsg AfterInitialize Method Head @1-89E84600
        public void afterInitialize(Event e) {
//End postmsg AfterInitialize Method Head

 if (Utils.getUserId(e.getPage()) == null ) { 
e.getPage().setRedirectString("../login.jsp");
}

//Event AfterInitialize Action Custom Code @10-44795B7A
/* -------------------------- *
 *  write your own code here  *
 * -------------------------- */
//End Event AfterInitialize Action Custom Code

//postmsg AfterInitialize Method Tail @1-FCB6E20C
        }
//End postmsg AfterInitialize Method Tail

//postmsg OnInitializeView Method Head @1-E3C15E0F
        public void onInitializeView(Event e) {
//End postmsg OnInitializeView Method Head

//postmsg OnInitializeView Method Tail @1-FCB6E20C
        }
//End postmsg OnInitializeView Method Tail

//postmsg BeforeShow Method Head @1-46046458
        public void beforeShow(Event e) {
//End postmsg BeforeShow Method Head

//postmsg BeforeShow Method Tail @1-FCB6E20C
        }
//End postmsg BeforeShow Method Tail

//postmsg BeforeUnload Method Head @1-1DDBA584
        public void beforeUnload(Event e) {
//End postmsg BeforeUnload Method Head

//postmsg BeforeUnload Method Tail @1-FCB6E20C
        }
//End postmsg BeforeUnload Method Tail

//postmsg Page Handler Tail @1-FCB6E20C
    }
//End postmsg Page Handler Tail

//Comment workaround @1-A0AAE532
%> <%
//End Comment workaround

//Processing @1-0B4901C8
    Page postmsgModel = (Page)request.getAttribute("postmsg_page");
    Page postmsgParent = (Page)request.getAttribute("postmsgParent");
    if (postmsgModel == null) {
        PageController postmsgCntr = new PageController(request, response, application, "/userCreate/postmsg.xml", "ISO-8859-1" );
        postmsgModel = postmsgCntr.getPage();
        //if (postmsgParent != null) {
            //if (!postmsgParent.getChild(postmsgModel.getName()).isVisible()) return;
        //}
    postmsgModel.addPageListener(new postmsgPageHandler());
        postmsgCntr.process();
%>
<%
        if (postmsgParent == null) {
            if (postmsgModel.redirect()) return;
            postmsgModel.setCookies();
        } else {
            postmsgModel.redirect();
        }
    }
//End Processing

%>
